package com.egoo.ticket.server.pojo.entity;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author：victor_tang
 * @Date ：2020/5/15
 * @Description：工单基础表实体类
 */
@Data
public class WorkOrder {
	private String id;
	private Integer statusId;
	private String statusName;
	private Long workOrderTypeId;
	private String workOrderTypeName;
	private Long currentWorkOrderNodeId;
	private String currentWorkOrderNodeName;
	/**
	 * 当前处理人id
	 */
	private String currentHandlerId;
	/**
	 * 当前处理人名字
	 */
	private String currentHandlerName;
	/**
	 * 历史处理人id
	 */
	private String historyHandlerId;
	/**
	 * 历史处理人名字
	 */
	private String historyHandlerName;

	private String saveUserId;
	private String saveUserName;
	private Timestamp saveTime;
	private String createUserId;
	private String createUserName;
	private Timestamp createTime;
	private String createTimeStr;
	private String lastUserId;
	private String lastUserName;
	private Timestamp lastUpdateTime;
	private String closeUserId;
	private String closeUserName;
	private Timestamp closeTime;
	/**
	 * /删除状态：0为未删除，1为删除
	 */
	private Integer deleteStatus;
	/**
	 * /流程实例id
	 */
	private String processInstanceId;
	/**
	 * /工单类型内容信息
	 */
	private JSONObject orderTypeContent;
	/**
	 * /工单类型初始节点id
	 */
	private Long orderTypeStartNodeId;
	/**
	 * /工单类型初始节点name
	 */
	private String orderTypeStartNodeName;

	/**
	 * / 调听录音id
	 */
	private String voiceKeyId;
	/**
	 * /外部流转信息
	 */
	private JSONObject externalFlowInfo;

	/**
	 * /工单定制字段数据
	 */
	private JSONObject customField;
	/**
	 * / 是否关注工单
	 */
	private String isMonitor;
	/**
	 * 客户唯一标识字段
	 */
	private String customIdentify;
	/**
	 * 租户id
	 */
	private String tenantId;
	/**
	 * 报表需求字段工单创建时间
	 */
	private Timestamp orderCreateTime;
	/**
	 *派单人字段
	 */
	private String assignOrder;
	/**
	 * 日志内容
	 */
	private String logContent;
	/**
	 * 日志内容
	 */
	private String isRecieve;
	/**
	 * 是否发布redis
	 */
	private Boolean isPubRedisTopic;
	private String isTimeOut;
	private String sender;
	private String workOrderMonitorId;
	private Integer orderPrimaryId;

	private String chengRanResultSign;
	private String appNo;
	private String QMTSign;
	private String failDescription;
}
